package com.ruoyi.service.impl;

import com.ruoyi.feign.ChunkFeign;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class ChunkServiceImpl implements ChunkFeign {

    @Resource
    private ChunkFeign chunkFeign;

    @Value("${ai.your_api_key}")
    private String apiKey;

    @Override
    public Map<String, Object> createChunk(String datasetId, String documentId, String authorization, Map<String, Object> requestBody) {
        return null;
    }

    @Override
    public Map<String, Object> getChunks(String datasetId, String documentId, String authorization, String keywords, Integer page, Integer pageSize, String chunkId) {
        return null;
    }

    @Override
    public Map<String, Object> deleteChunks(String datasetId, String documentId, String authorization, Map<String, Object> requestBody) {
        return null;
    }

    @Override
    public Map<String, Object> updateChunk(String datasetId, String documentId, String chunkId, String authorization, Map<String, Object> requestBody) {
        return null;
    }

    @Override
    public Map<String, Object> retrieveData(String authorization, Map<String, Object> requestBody) {
        return null;
    }
}
